#
#  persistent configuration options
#
#  see also DISTRO_SPECS DISTRO_PET_REPOS DISTRO_COMPAT_REPOS-*
#
#  **NOTE**: check the original file every once in a while
#            settings might be added or removed...
#

#----------------
#support/findpkgs (called by most scripts)
#----------------
USE_FINDPKGS_SEARCH_HELPER=yes
USE_FINDPKGS_DEP_HELPER=yes
## set to 'no' to speed up process..
CHECK_PKG_DEPENDENCIES=yes

#----------
# 1download
#----------
## this will check all remote pkg repos and choose the working ones
CHECK_REMOTE_PKG_REPOS=no

#----------
# 2download
#----------
# binaries are usually already stripped. set to 'no' to speed up process
STRIP_BINARIES=yes

#-------------
# 3builddistro
#-------------

## -- Live CD --
## The default is to use the traditional Puppy Live CD (isolinux)
## However there are 2 other options.
## UEFI_ISO overrides GRUB4DOS_ISO if both are set to YES..
## UEFI_ISO also supports legacy BIOS booting
##    On 32 bit systems this will still boot legacy BIOS however it
##      Will not boot 32 bit UEFI machines. These are rare anyway.
UFEI_ISO=yes
G4DOS_ISO=no

## UnionFS: aufs or overlay
## the kernel must properly support your choice
UNIONFS=aufs

## Kernel tarballs repo URL
## for choosing/downloading kernel
KERNEL_REPO_URL=http://distro.ibiblio.org/puppylinux/huge_kernels

## Kernel tarball URL
## avoid being asked questions about downloading/choosing a kernel
#KERNEL_TARBALL_URL=http://distro.ibiblio.org/puppylinux/huge_kernels/huge-3.14.55-slacko_noPAE.tar.bz2

## an array of generically named programs to send to the ADRIVE, FDRIVE, YDRIVE
## ADRV_INC="abiword gnumeric goffice"
ADRV_INC=""
## YDRV_INC=""
YDRV_INC=""
## FDRV_INC="" #this one is very experimental and it's recommended to be left unset
FDRV_INC=""

## Include kernel-kit generated FDRIVE
## set to yes or no or leave commented to be asked the question at build time
#KFDRIVE=no

## build devx? yes/no - any other value = ask
#BUILD_DEVX=yes

## include devx SFS in ISO?
DEVX_IN_ISO=no

## Include the windows puppy installer LICK
## by Luke Lorimer aka <noryb009>
LICK_IN_ISO=yes

## compression method to be used (SFS files)
SFSCOMP='-comp xz -Xbcj x86 -b 512K'
#SFSCOMP='-comp xz'
#SFSCOMP='-comp gzip'
#SFSCOMP='-noI -noD -noF -noX'

## if "$WOOF_HOSTARCH" = "$WOOF_TARGETARCH"
## Would you like to strip all binary executables and shared library files?
## These are usually already stripped, although some packages may have the shared
## library files stripped with the '--strip-debug' option only, and extra stripping
## should be okay. It won't do any harm answering yes here.
EXTRA_STRIPPING=yes

## -- Dependency check --
## if $WOOF_HOSTARCH" = "$WOOF_TARGETARCH"
## The script can optionally do a thorough dependency check
## This may take a long time.
CHECK_BINARY_DEPS=no

## PPM2 or the Classic gui for PPM?
UICHOICE=PPM2

## Puppy is normally run as the 'administrator' (root) user, though there is
## also 'fido' which is not currently very mature.
## The structure of Puppy is such that we consider root to be safe (with a full
## disclaimer of any responsibility if anything does go wrong), but there is a
## compromise, to run as root but to run Internet apps as user 'spot'.
## Note, in a running Puppy 'Menu->System->Login & Security Manager'
##    can be used to enable or disable running as spot.
RUN_INTERNET_APPS_AS_SPOT=no

## Certain Xorg drivers require KMS (Kernel ModeSetting)
## A value of '1' means on, '0' means off.
## assume not using kms at all when boot from sd card (arm arch).
KMS_i915=1
KMS_radeon=1
KMS_nouveau=1

## -- Xorg Auto --
## - This overrides DISTRO_XORG_AUTO in DISTRO_SPECS..
## - For ARM it's always set 'no' (may be changed)
## Do you want Xorg to start automatically at first boot (or at 'pfix=ram'
## kernel boot param) or run Xorg Wizard? The latter has been the case for
## earlier puppies. Automatic startup of X usually works, though in some
## cases may choose the wrong monitor resolution or driver -- which can be"
## fixed by running Xorg Wizard afterward. (yes/no)
XORG_AUTO=

## -- Xorg Text DPI (dots por inch) --
## this is overriden by PTHEME - $DEFAULT_THEME_XORG_TEXT_DPI
## see 'rootfs-complete/root/.Xresources' for the current value
## You can specify a font dpi if you wish
##   ...72 78 84 90 96 102 108 1114 120..
XORG_TEXT_DPI=

## -- pTheme -- applies only if ptheme pkg is being used
##    woof-code/rootfs-packages/ptheme/usr/share/ptheme/globals
## You can choose a ptheme here if you wish
## otherwise 3builddistro will ask you to choose one
#PTHEME="Dark Touch"
#PTHEME="Dark Mouse"
#PTHEME="Bright Touch"
PTHEME="Bright Mouse"
#PTHEME="Dark_Blue"
#PTHEME="Original Pup"

## -- ROX desktop text - black --
## The ROX-Filer desktop text defaults to white with black shadow, but this is
## not best for some light backgound images.
ROX_TEXT_BLACK=no

## ROX-Filer defaults to 'DejaVu Sans 10' font for the desktop. 
## If you would prefer bold text 'DejaVu Sans Bold 10',
## type in a full font specification (ex: Mono 12)
ROXFILER_FONT=

## -- Xload in JWM --
## By default xload is displayed in JWM. You can disable it here...
JWM_XLOAD=yes

## -- Custom wallpapers -- if mkwallpaper is in $PATH
## Do you want to build some custom wallpapers?
CUSTOM_WALLPAPERS=no

## -- Locale --
## Puppy is built with a default locale LANG=en_US and keyboard layout KMAP=us,
## which may be changed after bootup.
## However, if you are building a language-specific Puppy, you may change the
## defaults. But, please do make sure that your Puppy has a 'langpack' PET
## for your language installed -- if one does not exist, then you will have to
## create one -- see MoManager in the Utility menu, also read the Menu -> Help
## -> HOWTO Internationalization.
## see valid locales in /usr/share/i18n/locales
## (the default is en_US.UTF-8)
DEFAULTLANG=

## -- Keyboard layout --
## Default is english (en, us, "")
## Choose another one if you wish..
##   azerty be-latin1 br-abnt2 br-abnt br-latin1-abnt2 br-latin1-us by cf
##   croat cz de de-latin1 dk dvorak dvorak-l dvorak-r es et fi fr
##   gr hu101 hu il it jp106 lt mk nl no pl pt-latin1 ro ru
##   se sg sk-qwerty sk-qwertz slovene sv-latin1 uk us wangbe
KEYMAP=

## -- Default Apps --
## Not all are implemented in the puppy scripts,
##   but you can specify a default app if you wish...
## If you specify a value it will override anything that previously
##   set that value in the corresponding script...
## These are the current default*apps (scripts) in /usr/local/bin
DEFAULTAPPS="
defaultarchiver=
defaultaudioeditor=
defaultaudiomixer=
defaultaudioplayer=deadbeef
defaultbrowser=
defaultcalendar=
defaultcdplayer=deadbeef
defaultcdrecorder=
defaultchat=hexchat
defaultchmviewer=
defaultconnect=
defaultcontact=
defaultdraw=
defaultemail=claws-mail
defaultfilemanager=
defaulthandler=
defaulthtmleditor=
defaulthtmlviewer=defaultbrowser
defaultimageeditor=
defaultimageviewer=
defaultmediaplayer=
defaultpaint=
defaultpdfviewer=
defaultprocessmanager=
defaultrun=
defaultscreenshot=
defaultspreadsheet=
defaultterminal=urxvt
defaulttexteditor=
defaulttextviewer=
defaultwordprocessor=
"

## - extra commands --
## Here add custom commands to be executed inside sandbox3/rootfs-complete
EXTRA_COMMANDS="rm usr/share/X11/xorg.conf.d/10-amdgpu.conf
sed -i 's/rox/defaultfilemanager/g' root/Choices/ROX-Filer/PuppyPin
sed -i 's/Height>22/Height>28/g' root/.jwm/jwmrc-personal
sed -i 's/"24"/"MENHEIGHT"/g' etc/xdg/templates/_root_.jwmrc
sed -i 's/"24"/"16"/g' /root/.jwmrc
rm -r root/.config/rox.sourceforge.net/MIME-types/application_x-sharedlib
rm -r usr/share/themes/Raleigh
rm -r usr/share/themes/stark-blueish
rm -r usr/share/themes/FlatBlueContrast
rm -r usr/bin/xcalc
rm -r root/.config/autostart/pmcputemp.desktop
rm -r usr/share/applications/Xcalc-scientific-calculator.desktop
rm -r usr/share/applications/jcontrol.desktop
cp -r root/firstrun/yassm usr/local
cp -r root/firstrun/yassm-search.desktop usr/share/applications
rm -r root/firstrun/yassm
rm -r root/firstrun/yassm-search.desktop
cp -r root/firstrun/jwmrc-personal root/.jwm
cp -r root/firstrun/.jwmrc-tray root
cp -r root/firstrun/globicons root/.config/rox.sourceforge.net/ROX-Filer
cp -r root/firstrun/jwmrc-theme root/.jwm"
